package common

const (
// FavoriteTypeLanguage           = 10
// FavoriteTypeSubLanguage        = 11
// FavoriteTypeLanguageCountry    = 20
// FavoriteTypeSubLanguageCountry = 21
)

type Favorite struct {
	UserId uint `json:"user_id"`
	Type   uint `json:"type"`
	Id     uint `json:"id"`
}

func (Favorite) TableName() string {
	return "beesoft_base_favorites"
}

type FavoriteStoreReq struct {
	UserId uint `json:"user_id" query:"user_id"`
	Type   uint `json:"type" query:"type" default:"1"`
	Id     uint `json:"id" query:"id"`
}
